 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" rev="stylesheet" href="images/my[1].css?20062" type="text/css" media="screen"/>
<link rel="stylesheet" rev="stylesheet" href="images/style[1].css?v=2.00" type="text/css" media="screen"/>
<title>网站管理平台</title>
<style type="text/css">
<!--
body{
scrollbar-face-color: #00ccff; 
scrollbar-shadow-color:rgb(0, 143, 213); 
scrollbar-highlight-color: rgb(0, 143, 213); 
scrollbar-3dlight-color:#ffffff; 
scrollbar-darkshadow-color:#ffffff ; 
scrollbar-track-color: #F7F7F7; 
scrollbar-arrow-color: #ffffff; 

}
body,td,th {
	font-family: 宋体;
}
-->
</style>
<link href="../../images/my[1].css" rel="stylesheet" type="text/css" />
</head>

<script> 

var height=489;
function autoResize() 
{ 
	calheight();
	try 
	{ 
		ht=document.all["mdiframe"].style.height=mdiframe.document.body.scrollHeight;
		ht=ht<489?489:ht;
		divheight=ht<height?height:ht;
		divheight=divheight+'px';
		document.getElementById('divframe').style.height=divheight;
	} 
	catch(e){} 
}
</script>
<body scroll="no" style="text-align:center; margin:0 0 0 0; font-size:12px; color:#333333; background-color: #CCCCCC;" onresize="resize()">
<div style=" background: #CCCCCC;">
<div  style=" height:78px; background-image:url(images/logo1_02.jpg); background-color:rgb(0,124,216); background-repeat:repeat-y; ">
  <span style=" float:right; margin-right:40px;  color:#FF0000;margin-top:35px;">◆<a style="color:#ff0000; font-weight:bold;" href="login.php?action=logout">退出系统</a></span> 
  <span style=" float:right;margin-right:50px; color:#FFFFFF; margin-top:35px; font-weight:bold;">客户服务热线: 13679026750</span>

  <div style="clear:both; float:right; width:360px; margin-top:10px; color:#FFFFFF; text-align:left;">Copyright &copy; 2008 <a href="http://www.b028.com" target="_blank" style="color:#ffffff;" >比邻科技</a> 版权所有</div>
  
</div>
<div style=" font-size:0; height:5px; background-color: #CCCCCC; clear:both;"></div>

<div id='leftmenu' style=" background:#FFFFFF;width:240px; margin-top:3px; margin-left:1px; float:left; height:440px; overflow:auto; overflow-x:hidden; border: #999999 solid 1px;">
  <div style=" height:30px;background:rgb(0, 143, 213);  ">
  <img style="margin-top:5px; margin-left:20px; float:left;" src="images/241.gif" />
  <span style="margin-top:6px; float: left; margin-left:10px; color: #ffffff; font-size:14px; font-weight:bold; ">管理菜单</span>
  
  </div>
<script language="javascript" type="text/javascript"> 
function ee(obj) 
{ 
    return document.getElementById(obj); 
} 

function close_open(bf) 
{ 
    if(ee(bf).currentStyle.display == "none") 
    { 
        ee(bf).style.display = ""; 
    } 
    else 
    { 
        ee(bf).style.display = "none"; 
    } 
//	autoResize('admin_left');
	calheight();
} 
function openNode(bf,arg2)
{
	 if(ee(bf).currentStyle.display == "none") 
    { 
        ee(bf).style.display = ""; 
    } 
    else 
    { 
        ee(bf).style.display = "none"; 
    } 
//	autoResize('admin_left');
	//arg2.className=arg2.className=='treeopen'?'treeclose':'treeopen';
	//alert(arg2.getElementsByTagName('img')[0].src);
	var src=arg2.getElementsByTagName('img')[0].src;
	var regx=/open/;
	var rs=regx.test(src);
	if(rs)
		arg2.getElementsByTagName('img')[0].src='images/tree_close.gif';
	else
		arg2.getElementsByTagName('img')[0].src='images/tree_open.gif';
	calheight();
	
}
function calheight()
{
	var liarr=document.getElementsByTagName('li');
	var ht=120;
	for(i=0;i<liarr.length;i++)
	{
		if(liarr[i].style.display!='none')
		{
			ht+=22;
			//alert(liarr[i].height);
		}
	}
	height=ht<489?489:ht;
}
</script> 
<!-- 
<?php
print<<<GH
-->
<!-- Left Menu -->
<div id="admin_left" class="b1" >
<div id="treeMenu" ></div>
<dl id="treeview">
<!--
GH;
if(in_array('0',$optvalue)){
print<<<GH
-->
<dt onclick="openNode('list1',this);" class="treeopen"><div><div style="float:left;"><img src="images/tree_open.gif"  style="margin-left:-20px; margin-right:5px; margin-top:-3px;"/></div><div>用户管理</div></dt>
<dd id="list1">
<ul>
<li><a href="user.inc.php?action=userlist" 
target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/head_set.gif" width="16" height="22" align="absmiddle">&nbsp;<span  class="red">管理用户</span></a></li>
</ul>
</dd>
<!-- 
GH;
}
if(in_array('1',$optvalue)){
print<<<GH
-->
<dt onclick="openNode('list2',this);" class="treeopen"><div><div style="float:left"><img src="images/tree_open.gif"  style="margin-left:-20px; margin-right:5px; margin-top:-3px"/></div><div>基本信息</div></div></dt>
<dd id="list2">
<ul>

<li><a href="base.inc.php?ostable=bzjj&action=edit&id=1" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;管理关于我们</a></li>

<li><a href="base.inc.php?ostable=bzjj&action=edit&id=2" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;管理办公电话</a></li>

<li><a href="base.inc.php?ostable=bzjj&action=edit&id=3" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;管理联系我们</a></li>

</ul>
</dd>
<!-- 
GH;
}
if(in_array('2',$optvalue)){
print<<<GH
-->
<dt onclick="openNode('list9',this);" class="treeopen"><div><div style="float:left"><img src="images/tree_open.gif"  style="margin-left:-20px; margin-right:5px; margin-top:-3px"/></div><div>信息管理</div></div></dt>
<dd id="list9">
<ul>

<li><a href="website.inc.php?ostable=news&action=list" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;管理动态信息</a></li>

<li><a href="website.inc.php?ostable=work&action=list" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;管理党群工作</a></li>

<li><a href="website.inc.php?ostable=task&action=list" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;管理任务图表</a></li>

<li><a href="website.inc.php?ostable=study&action=list" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;管理学习天地</a></li>

<li><a href="website.inc.php?ostable=bume&action=list" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;分类管理</a></li>

</ul>
</dd>
<!-- 
GH;
}
if(in_array('3',$optvalue)){
print<<<GH
-->
<dt onclick="openNode('list16',this);" class="treeopen"><div><div style="float:left"><img src="images/tree_open.gif"  style="margin-left:-20px; margin-right:5px; margin-top:-3px"/></div><div>日况管理</div></div></dt>
<dd id="list16">
<ul>

<li><a href="website.inc.php?ostable=scrk&action=add" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;添加日况信息</a></li>

<li><a href="website.inc.php?ostable=scrk&action=list" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;管理日况信息</a></li>


</ul>
</dd>
<!-- 
GH;
}
if(in_array('4',$optvalue)){
print<<<GH
-->
<dt onclick="openNode('list11',this);" class="treeopen"><div><div style="float:left"><img src="images/tree_open.gif"  style="margin-left:-20px; margin-right:5px; margin-top:-3px"/></div><div>数据管理</div></div></dt>
<dd id="list11">
<ul>

<!-- <li><a style="width:80px;" href="database.inc.php?action=export&uptype=bakupds" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;备 份</a></li>

<li><a style="width:80px;" href="database.inc.php?action=import&uptype=bakupds" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;恢 复</a></li> -->

<li><a style="width:80px;" href="database.inc.php?action=optimize&uptype=bakupds" target="mdiframe"><img src="images/xiao/none_nor.gif" width="16" height="22" align="absmiddle">&nbsp;<img src="images/xiao/edit_song.gif" width="16" height="22" align="absmiddle">&nbsp;优 化</a></li>

</ul>
</dd>
<!-- 
GH;
}
print<<<GH
-->

<dt  class="treeopen"> <a style="color:#FFFFFF" href="login.php?action=logout"  onclick="return confirm('你确定要退出！')" >退出系统</a></dt>
</dl>
</div>
</div>

<div id='divframe' style=" height:440px; width:79%;  margin-top:3px; margin-left:5px; float:left; background:#FFFFFF; border:#ffffff solid 1px;">


<iframe width="100%" height="440"  frameborder="0" scrolling="yes" src="templates/msystem/no1.html" id="mdiframe" name="mdiframe" marginheight="0" marginwidth="0"></iframe>
</div>

</div>
<script language="javascript">
function resize()
{
		var height=window.screen.availHeight;
//window.screen.availHeight; 
		width=window.screen.availWidth ;
		
		leftheight=document.getElementById('leftmenu').style.height;
		leftwidth=document.getElementById('leftmenu').style.width;
		
		//alert
		logoheight=80;
		leftheight=parseInt(leftheight);
		leftwidth=parseInt(leftwidth);
if (window.innerWidth) 
{ 
theWidth = window.innerWidth 
theHeight = window.innerHeight 
} 
else if (document.compatMode=='CSS1Compat') 
{ 
theWidth = document.documentElement.clientWidth 
theHeight = document.documentElement.clientHeight 
} 
else if (document.body) 
{ 
theWidth = document.body.clientWidth 
theHeight = document.body.clientHeight 
} 
theHeight=theHeight-15;
theHeight=theHeight-logoheight;
theWidth=theWidth-leftwidth-15;
document.getElementById('leftmenu').style.height=theHeight+'px';
document.getElementById('divframe').style.height=theHeight+'px';
document.getElementById('mdiframe').style.height=theHeight+'px';
document.getElementById('divframe').style.width=theWidth+'px';
document.getElementById('mdiframe').style.width=theWidth+'px';
}	






function document.onreadystatechange()
{
   if (document.readyState=='complete')
   {
      resize(); 
   }
}

</script>
</body>
</html>
<!-- 
GH;
?>
-->